<?php

// +----------------------------------------------------------------------
// | Tiken 自定义验证器
// +----------------------------------------------------------------------
// | @author fancsen
// +----------------------------------------------------------------------
namespace app\api\validate;

class Token extends BaseValidate
{
    protected $rule = [
		'code' => 'require|isNotEmpty',
	];
    protected $message = [
        'code.require' => 'code必须要有的',
        'code.isNotEmpty' => 'code不能为空值',
    ];
}